﻿using SD.Infrastructure.DTOBase;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Outputs.ExecutionContext
{
    /// <summary>
    /// 工单实际参数数据传输对象
    /// </summary>
    [DataContract]
    public class WorkOrderActualParameterInfo : BaseDTO
    {
        #region 对应变量编号 —— string RelatedVariableNo
        /// <summary>
        /// 对应变量编号
        /// </summary>
        [DataMember]
        public string RelatedVariableNo { get; set; }
        #endregion

        #region 参数值 —— decimal Value
        /// <summary>
        /// 参数值
        /// </summary>
        [DataMember]
        public decimal Value { get; set; }
        #endregion

        #region 值单位编号 —— string ValueUnitNo
        /// <summary>
        /// 值单位编号
        /// </summary>
        [DataMember]
        public string ValueUnitNo { get; set; }
        #endregion

        #region 排序 —— int Sort
        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public int Sort { get; set; }
        #endregion

        #region 描述 —— string Description
        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        #endregion
    }
}
